home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
DELPHI32
/
DISK_UTL
/
SHOWMAN
/
OPTNDLG.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-05-25
|
928b
|
45 lines
unit OptnDlg;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
StdCtrls, ExtCtrls, Forms, ComCtrls;
type
TOptionsDialog = class(TForm)
Button1: TButton;
Button2: TButton;
PageControl1: TPageControl;
SpaceSheet: TTabSheet;
RadioGroup1: TRadioGroup;
btnBytesUsed: TRadioButton;
btnAllocated: TRadioButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
procedure FormShow(Sender: TObject);
public
{ Public declarations }
show_allocated: boolean;
end;
var
OptionsDialog: TOptionsDialog;
implementation
{$R *.DFM}
procedure TOptionsDialog.Button1Click(Sender: TObject);
begin
show_allocated := btnAllocated.Checked;
end;
procedure TOptionsDialog.FormShow(Sender: TObject);
begin
btnAllocated.Checked := show_allocated;
btnBytesUsed.Checked := not btnAllocated.Checked;
end;
end.